Simulate Key

Command Prototype

Keyboard.Press(sKey, sType, sKeyModifiers,optionArgs)

Command Description

Simulate keyboard key

Parameter Description
Required Parameter
sKey--Correspond to the content to be entered in one simulation
sType--Type of key pressing {click: click, down: pressed down, up: bounce up}
sKeyModifiers--Keyboard keys pressed down when a mouse action is triggered, the following options are available: Alt, Ctrl, Shift, Win
Optional Parameter
iDelayAfter--The delay time (in milliseconds) after executing activities, and the default time is 300 milliseconds.
iDelayBefore--The delay time (in millisecons) before the activity starts any action. The default amount of time is 200 milliseconds.
sSimulate--Simulation type, {default:Default UIA mode, simulate:Simulated click, message:windows message}.

results matching ""

    No results matching ""